package com.nais.mapper;

import com.nais.domain.EcSchool;
import com.nais.domain.EcSchoolCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EcSchoolMapper {
    long countByExample(EcSchoolCriteria example);

    int deleteByExample(EcSchoolCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(EcSchool record);

    int insertSelective(EcSchool record);

    List<EcSchool> selectByExample(EcSchoolCriteria example);

    EcSchool selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EcSchool record, @Param("example") EcSchoolCriteria example);

    int updateByExample(@Param("record") EcSchool record, @Param("example") EcSchoolCriteria example);

    int updateByPrimaryKeySelective(EcSchool record);

    int updateByPrimaryKey(EcSchool record);
}